<template>
  <nav>
    <el-menu default-active="1">
      <el-menu-item index="1" @click="handleClick">
        <span>3D柱状图</span>
      </el-menu-item>
    </el-menu>
  </nav>
</template>

<script lang="ts" setup>
import { useRouter } from "vue-router";
const router = useRouter();
const handleClick = () => {
  router.push('/home/chart-bar')
}
</script>
<style lang="less" scoped>
nav {
  width: 200px;
  height:100%;
  padding: 0;
  ul {
    height: 100%;
    overflow: auto;
  }
}
</style>